package top.rainbowecho.model.percona;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author 杨健
 * @since 2020-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_like")
public class Like implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点赞的文章的id
     */
    @TableField("article_id")
    private String articleId;

    /**
     * 点赞的用户的id
     */
    @TableField("user_id")
    private String userId;

    /**
     * 点赞时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


}
